const eventsConfig = {
	triggers: {
		click: 'Click',
		rightClick: 'Right Click',
		doubleClick: 'Double Click',
		accordionClick: 'Accordion Click',
		toggleClick: 'Toggle Click',
		dropdownClick: 'Click Dropdown',
		editorLoaded: 'Editor Loaded',
		visible: 'Visible',
		pageLoaded: 'Page Loaded',
	},

	locations: {
		widgetPanel: 'Widget Panel',
		topBar: 'Top Bar',
		elementorEditor: 'Elementor Editor',
		templatesLibrary: {
			library: 'Templates Library',
		},
		app: {
			import: 'Import Kit',
			export: 'Export Kit',
			kitLibrary: 'Kit Library',
			cloudKitLibrary: 'Cloud Kit Library',
		},
		variables: 'Variables Panel',
		variablesManager: 'Variables Manager',
		admin: 'WP admin',
		structurePanel: 'Structure Panel',
		canvas: 'Canvas',
	},

	secondaryLocations: {
		layout: 'Layout Section',
		basic: 'Basic Section',
		'pro-elements': 'Pro Section',
		general: 'General Section',
		'theme-elements': 'Site Section',
		'theme-elements-single': 'Single Section',
		'woocommerce-elements': 'WooCommerce Section',
		wordpress: 'WordPress Section',
		categories: 'Widgets Tab',
		global: 'Globals Tab',
		'whats-new': 'What\'s New',
		'document-settings': 'Document Settings icon',
		'preview-page': 'Preview Page',
		'publish-button': 'Publish Button',
		'widget-panel': 'Widget Panel Icon',
		finder: 'Finder',
		help: 'Help',
		elementorLogoDropdown: 'top_bar_elementor_logo_dropdown',
		elementorLogo: 'Elementor Logo',
		eLogoMenu: 'E-logo Menu',
		notes: 'Notes',
		siteSettings: 'Site Settings',
		structure: 'Structure',
		documentNameDropdown: 'Document Name dropdown',
		responsiveControls: 'Responsive controls',
		launchpad: 'launchpad',
		checklistHeader: 'Checklist Header',
		checklistSteps: 'Checklist Steps',
		userPreferences: 'User Preferences',
		contextMenu: 'Context Menu',
		templateLibrary: {
			saveModal: 'Save to Modal',
			moveModal: 'Move to Modal',
			bulkMoveModal: 'Bulk Move to Modal',
			copyModal: 'Copy to Modal',
			bulkCopyModal: 'Bulk Copy to Modal',
			saveModalSelectFolder: 'Save to Modal - select folder',
			saveModalSelectConnect: 'Save to Modal - connect',
			saveModalSelectUpgrade: 'Save to Modal - upgrade',
			importModal: 'Import Modal',
			newFolderModal: 'New Folder Modal',
			deleteDialog: 'Delete Dialog',
			deleteFolderDialog: 'Delete Folder Dialog',
			renameDialog: 'Rename Dialog',
			createFolderDialog: 'Create Folder Dialog',
			applySettingsDialog: 'Apply Settings Dialog',
			cloudTab: 'Cloud Tab',
			siteTab: 'Site Tab',
			cloudTabFolder: 'Cloud Tab - Folder',
			cloudTabConnect: 'Cloud Tab - Connect',
			cloudTabUpgrade: 'Cloud Tab - Upgrade',
			morePopup: 'Context Menu',
			quotaBar: 'Quota Bar',
		},
		kitLibrary: {
			cloudKitLibrary: 'kits_cloud_library',
			cloudKitLibraryConnect: 'kits_cloud_library_connect',
			cloudKitLibraryUpgrade: 'kits_cloud_library_upgrade',
			kitExportCustomization: 'kit_export_customization',
			kitExport: 'kit_export',
			kitExportCustomizationEdit: 'kit_export_customization_edit',
			kitExportSummary: 'kit_export_summary',
			kitImportUploadBox: 'kit_import_upload_box',
			kitImportCustomization: 'kit_import_customization',
			kitImportSummary: 'kit_import_summary',
		},
		variablesPopover: 'Variables Popover',
		admin: {
			pluginToolsTab: 'plugin_tools_tab',
			pluginWebsiteTemplatesTab: 'plugin_website_templates_tab',
		},
		componentsTab: 'Components Tab',
		canvasElement: 'Canvas Element',
	},

	elements: {
		accordionSection: 'Accordion section',
		buttonIcon: 'Button Icon',
		mainCta: 'Main CTA',
		button: 'Button',
		link: 'Link',
		dropdown: 'Dropdown',
		toggle: 'Toggle',
		launchpadChecklist: 'Checklist popup',
	},

	names: {
		v1: {
			layout: 'v1_widgets_tab_layout_section',
			basic: 'v1_widgets_tab_basic_section',
			'pro-elements': 'v1_widgets_tab_pro_section',
			general: 'v1_widgets_tab_general_section',
			'theme-elements': 'v1_widgets_tab_site_section',
			'theme-elements-single': 'v1_widgets_tab_single_section',
			'woocommerce-elements': 'v1_widgets_tab_woocommerce_section',
			wordpress: 'v1_widgets_tab_wordpress_section',
			categories: 'v1_widgets_tab',
			global: 'v1_globals_tab',
		},
		topBar: {
			whatsNew: 'top_bar_whats_new',
			documentSettings: 'top_bar_document_settings_icon',
			previewPage: 'top_bar_preview_page',
			publishButton: 'top_bar_publish_button',
			widgetPanel: 'top_bar_widget_panel_icon',
			finder: 'top_bar_finder',
			help: 'top_bar_help',
			history: 'top_bar_elementor_logo_dropdown_history',
			userPreferences: 'top_bar_elementor_logo_dropdown_user_preferences',
			keyboardShortcuts: 'top_bar_elementor_logo_dropdown_keyboard_shortcuts',
			exitToWordpress: 'top_bar_elementor_logo_dropdown_exit_to_wordpress',
			themeBuilder: 'top_bar_elementor_logo_dropdown_theme_builder',
			notes: 'top_bar_notes',
			siteSettings: 'top_bar_site_setting',
			structure: 'top_bar_structure',
			documentNameDropdown: 'top_bar_document_name_dropdown',
			responsiveControls: 'top_bar_responsive_controls',
			launchpadOn: 'top_bar_checklist_icon_show',
			launchpadOff: 'top_bar_checklist_icon_hide',
			elementorLogoDropdown: 'open_e_menu',
			connectAccount: 'connect_account',
			accountConnected: 'account_connected',
		},
		// ChecklistSteps event names are generated dynamically, based on stepId and action type taken: title, action, done, undone, upgrade
		elementorEditor: {
			checklist: {
				checklistHeaderClose: 'checklist_header_close_icon',
				checklistFirstPopup: 'checklist popup triggered',
			},
			userPreferences: {
				checklistShow: 'checklist_userpreferences_toggle_show',
				checklistHide: 'checklist_userpreferences_toggle_hide',
			},
		},
		variables: {
			open: 'open_variables_popover',
			add: 'add_new_variable',
			connect: 'connect_variable',
			save: 'save_new_variable',
			openManager: 'open_variables_manager',
			saveChanges: 'save_variables_changes',
			delete: 'delete_variable',
		},
		components: {
			createClicked: 'component_create_clicked',
			createCancelled: 'component_creation_cancelled',
			created: 'component_created',
			instanceAdded: 'component_instance_added',
			edited: 'component_edited',
		},
		global_classes: {
			classApplied: 'class_applied',
			classRemoved: 'class_removed',
			classManagerFilterCleared: 'class_manager_filter_cleared',
			classDeleted: 'class_deleted',
			classPublishConflict: 'class_publish_conflict',
			classRenamed: 'class_renamed',
			classCreated: 'class_created',
			classManagerSearched: 'class_manager_searched',
			classManagerFiltersOpened: 'class_manager_filters_opened',
			classManagerOpened: 'class_manager_opened',
			classManagerReorder: 'class_manager_reorder',
			classManagerFilterUsed: 'class_manager_filter_used',
			classUsageLocate: 'class_usage_locate',
			classUsageHovered: 'class_usage_hovered',
			classStyled: 'class_styled',
			classStateClicked: 'class_state_clicked',
			classUsageClicked: 'class_usage_clicked',
			classDuplicate: 'class_duplicate',
		},
	},
};

export default eventsConfig;
